<!--# layout("/common/layout.html",{"jsBase":"/js/cms/xxdOrder/"}){ -->

<form class="layui-form layui-form-pane" id="updateForm">
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">商品项个数</label>
				<div class="layui-input-inline">
					<input type="text" id="itemCount" name="itemCount"  value="${xxdOrder.itemCount}"   class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">用户id</label>
				<div class="layui-input-inline">
					<input type="text" id="userId" name="userId"  value="${xxdOrder.userId}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">店铺id， 暂未使用</label>
				<div class="layui-input-inline">
					<input type="text" id="shopId" name="shopId"  value="${xxdOrder.shopId}"   class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">下单时间</label>
				<div class="layui-input-inline">
					<input type="text" id="createTime" name="createTime"  value="${xxdOrder.createTime,"yyyy-MM-dd"}"   class="layui-input input-date" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">支付方式， 1. 支付宝 2.微信</label>
				<div class="layui-input-inline">
					<input type="text" id="payType" name="payType"  value="${xxdOrder.payType}"   class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">支付时间</label>
				<div class="layui-input-inline">
					<input type="text" id="payTime" name="payTime"  value="${xxdOrder.payTime,"yyyy-MM-dd"}"   class="layui-input input-date" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">配送方式， 暂时未使用</label>
				<div class="layui-input-inline">
					<input type="text" id="distributionMode" name="distributionMode"  value="${xxdOrder.distributionMode}"   class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">期望配送日期</label>
				<div class="layui-input-inline">
					<input type="text" id="distributionDate" name="distributionDate"  value="${xxdOrder.distributionDate,"yyyy-MM-dd"}"   class="layui-input input-date" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">商品总额</label>
				<div class="layui-input-inline">
					<input type="text" id="itemsTotal" name="itemsTotal"  value="${xxdOrder.itemsTotal}"   class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">运费</label>
				<div class="layui-input-inline">
					<input type="text" id="freight" name="freight"  value="${xxdOrder.freight}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">付款(也可是需支付金额 2020/02/19)</label>
				<div class="layui-input-inline">
					<input type="text" id="payment" name="payment"  value="${xxdOrder.payment}"   class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">订单状态， 0:未付款 1.已付款 2.已完成 3.已取消订单</label>
				<div class="layui-input-inline">
					<input type="text" id="status" name="status"  value="${xxdOrder.status}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
	<!-- 业务对象须有hidden字段，保存delFlag和version字段-->
    <input type="hidden" name="orderId" value=${xxdOrder.orderId} />
    <layui:submitButtons id="updateButton" />
</form>
<!--#} -->
<script>
layui.use(['edit'], function(){
    var xxdOrderEdit = layui.edit
    xxdOrderEdit.init();
});
</script>
